package com.base.common.persistent.dao;

import com.base.common.persistent.model.Employee;
import org.apache.ibatis.annotations.Param;

import com.cjy.common.annotation.MyBatisRepository;

@MyBatisRepository
public interface VillageConfigMapper {
	/**
	 * 获取数据库编号
	 * 
	 * @param compoundsId 小区id
	 * @return
	 */
	String getDBNum(@Param("compoundsId") int compoundsId);
	
	/**
	 * 获取小区是否发送短信标识
	 * 
	 * @param compoundsId
	 * @return
	 */
	String getSendSmsFlag(@Param("compoundsId") int compoundsId);

	String getLastedVersionByCompoundsId(@Param("flag")int flag, @Param("compoundsId") int compoundsId);

	int selectAppFlag(@Param("compoundsId") int compoundsId);

	int queryDutyApprovalEmployeeId(@Param("compoundsId") int compoundsId);

	int selectSubClassID(@Param("compoundsId") int compoundsId);
}
